package com.banmao.mall.service.admin;

import com.banmao.mall.model.bo.admin.goods.GoodsBO;
import com.banmao.mall.model.bo.admin.goods.GoodsDetailBO;
import com.banmao.mall.model.bo.admin.goods.GoodsListBO;
import com.banmao.mall.model.vo.admin.goods.CatAndBrandVO;
import com.banmao.mall.model.vo.admin.goods.GoodsDetailVO;
import com.banmao.mall.model.vo.admin.goods.GoodsListVO;

public interface GoodsService {

    /**
     *  获取商品列表
     * @param goodsListBO
     * @return
     */
    GoodsListVO goodsList(GoodsListBO goodsListBO);

    /**
     *  获取所有商品类目和品牌商基本信息
     * @return
     */
    CatAndBrandVO catAndBrand();

    /**
     *  添加商品
     * @param goodsDetailBO
     * @return
     */
    int goodsCreate(GoodsDetailBO goodsDetailBO);

    /**
     *  获取商品详情信息
     * @param goodsId
     * @return
     */
    GoodsDetailVO goodsDetail(Integer goodsId);

    /**
     *  更新商品信息
     * @param goodsDetailBO
     * @return
     */
    int goodsUpdate(GoodsDetailBO goodsDetailBO);

    /**
     *  删除商品（逻辑删除）
     * @param goodsBO
     * @return
     */
    int goodsDelete(GoodsBO goodsBO);
}
